/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aloaproject.ciquta;

import java.util.ArrayList;
import java.util.Collection;

/**
 * CarCatalog is a list of cars suited for testing.
 * @author Daniele
 */
public class CarCatalog {

    public  final Collection cars;
    public  final Car bmw518i;
    public  final Car bmwZ3;
    public  final Car vwBeetle;
    public  final Car vwScirocco;
    public  final Car ferrariModena;
    public  final Car ferrariTestarossa;
    public  final Car fiat500;
    public  final Car fiatPunto;
    public  final Car renault5;
    public  final Car renaultVelSatis;

public CarCatalog(){
        //setting up the test collection
        cars = new ArrayList();

        bmw518i = new Car("518i", Maker.BMW, 5);
        cars.add(bmw518i);

        bmwZ3 = new Car("Z3", Maker.BMW, 2);
        cars.add(bmwZ3);

        vwBeetle = new Car("Beetle", Maker.VOLKSWAGEN, 5);
        cars.add(vwBeetle);

        vwScirocco = new Car("Scirocco", Maker.VOLKSWAGEN, 2);
        cars.add(vwScirocco);

        ferrariModena = new Car("Modena", Maker.FERRARI, 2);
        cars.add(ferrariModena);

        ferrariTestarossa = new Car("Testarossa", Maker.FERRARI, 2);
        cars.add(ferrariTestarossa);

        fiat500 = new Car("500", Maker.FIAT, 2);
        cars.add(fiat500);

        fiatPunto = new Car("Punto", Maker.FIAT, 5);
        cars.add(fiatPunto);

        renault5 = new Car("5", Maker.RENAULT, 3);
        cars.add(renault5);

        renaultVelSatis = new Car("Vel Satis", Maker.RENAULT, 5);
        cars.add(renaultVelSatis);
    }
}
